package com.turtle.learning.users.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.turtle.learning.users.entity.User;

/**
 * 分享 服务类
 *
 * @author turtle
 * @since 2020-04-29
 */
public interface IUserService extends IService<User> {

    /**
     * 通过登录账号获取用户信息
     *
     * @param username 用户账号
     * @return User
     */
    User getUserByUsername(String username);

}
